import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import './style.css'
import router from './router/index.js'; 

import { CommonComponents } from '@/utils/import/import.js'

const app = createApp(App)
for (const name in CommonComponents) {
  app.component(name, CommonComponents[name])
}

app.use(ElementPlus)
app.use(router)

app.mount('#app')
